< previous page page_109 next page >

Page 109
The following sections provide the details about menus and building and coding them.
Common Menus
When you create your program's menu, you should group similar items. In fact, if possible, you should use groups with which your users are already familiar. This way, users have some idea where to find particular menu items, even if they've never used your program. The following list describes some standard menus you will find on many menu bars:
File. This menu contains any functions related to whole files used by your program. Some of the typical menu items are New, Open, Close, Save, Save As, and Print. If your program works extensively with different files, you might also want to include a quick access list of the most recently used files. If you include a File menu, the program's Exit command is usually located near the bottom of this menu.
Edit. The Edit menu contains the functions related to editing of text and using the Windows Clipboard. Some typical Edit menu items are Undo, Cut, Copy, Paste, Clear, Find, and Replace.
View. The View menu might be included if your program supports different looks for the same document. A word processor, for example, might include a normal view for editing text and a page-layout view for positioning document elements, as well as a variety of zoom options. Another use of the View menu is to allow the users to display or hide special forms in your program, like the Visual Basic View, Toolbox option.
Tools. This menu is a catchall for your program's utilities or "helper" functions. For example, a spelling checker, grammar checker, or equation editor might be included for a word processor.
Window. This menu typically is included if your program uses a Multiple Document Interface (MDI). MDI programs, like Microsoft Word, support the simultaneous editing of different documents, databases, or files. The Window menu lets users arrange open documents or switch rapidly between them.
Help. The Help menu contains access to your program's Help system. Typically, it includes menu items for a Help Index (a table of contents for help), a Search option (to let the users quickly find a particular topic), and an About option (providing summary, authoring, and copyright information regarding your program).
You can use these six "standard" menus as a basis for creating your own menu system. Include any or all of them as needed by your program, and add other menu groups as needed. Plan well before adding a lot of new groups, though. Make sure your users can easily access all your program's functions through the menu system.

 
< previous page page_109 next page >